package com.tpp.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "tpp-cloud-information",path = "/email")
public interface EmailClients {

    @PostMapping("/sendMail")
    public Boolean sendMail(@RequestBody Map map);

}
